package net.betou.core.dao;

import java.util.Date;

import net.betou.common.hibernate3.Updater;
import net.betou.common.page.Pagination;
import net.betou.core.entity.Authentication;

public interface AuthenticationDao{

	public int deleteExpire( Date d );

	public Authentication getByUserId( Long userId );

	public Pagination getPage( int pageNo, int pageSize );

	public Authentication findById( String id );

	public Authentication save( Authentication bean );

	public Authentication updateByUpdater( Updater< Authentication > updater );

	public Authentication deleteById( String id );
}